package com.example.tsproject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.tsproject.entity.CommentWithStudent;
import com.example.tsproject.entity.Comments;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author DELL
* @description 针对表【comments】的数据库操作Mapper
* @createDate 2024-09-24 21:09:01
* @Entity com.example.tsproject.entity.Comments
*/
@Mapper
public interface CommentsMapper extends BaseMapper<Comments> {
    List<CommentWithStudent> selectCommentsByPostId(Integer postId);
}




